﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AdminUploadResult.aspx.cs" Inherits="mpsalary.AdminUploadResult" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        .style1
        {
            width: 282px;
        }
        .style2
        {
            width: 223px;
        }
    </style>
    </head>
<body>
    <form id="form1" runat="server">
    
    <table style="width:100%;">
    <tr>
        <td>
            &nbsp;</td>
        <td>
            &nbsp;</td>
        <td>
            &nbsp;</td>
        <td>
            <asp:Image ID="Image1" runat="server" ImageAlign="Middle" 
                ImageUrl="~/bannersizeColourfulBanner copy.jpg" />
        </td>
        <td>
            &nbsp;</td>
        <td>
            &nbsp;</td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td class="style7">
            &nbsp;</td>
        <td class="style7">
            &nbsp;</td>
        <td class="style7">
            &nbsp;</td>
        <td class="style7">
            <table style="width:100%;">
                <tr>
                    <td>
                        <asp:ImageButton ID="imagebtnHome" runat="server" 
                            ImageUrl="~/hometab copy.jpg" onclick="imagebtnHome0_Click"/>
                           
                    </td>
                    <td colspan="2">
                        &nbsp;</td>
                    <td>
                        &nbsp;</td>
                    <td colspan="2">
                        &nbsp;</td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td colspan="2">
                        <asp:Button ID="btnUploadFile" runat="server" onclick="Button1_Click" 
                            Text="Upload File" />
                    </td>
                    <td colspan="3">
                        <asp:Button ID="btnviewData" runat="server" onclick="Button2_Click" 
                            Text="View Data" />
                    </td>
                    <td colspan="2">
                        
                        <asp:Button ID="btnImportData" runat="server" onclick="btnImportData_Click" 
                            Text="Import Data" />
                        
                    </td>
                </tr>
                <tr>
                    <td colspan="7">
                        <table style="width:100%;">
                            <tr>
                                <td colspan="3">
                                    <table style="width:100%;">
                                        <tr>
                                            <td class="style1">
                                                <asp:Panel ID="PanelUpload" runat="server" Width="277px">
                                                 <asp:FileUpload ID="uploadFileTextbox" runat="server" />
    <br />
    Please select an Excel file to import:<br />
    <asp:Button ID="ButtonUploadFile" runat="server" 
        Text="Upload File" onclick="ButtonUploadFile_Click" /><br />
    <asp:Label ID="LabelUpload" runat="server" Text=""></asp:Label>
                                                </asp:Panel>
                                            </td>
                                            <td class="style2">
                                                
                                                <asp:Panel ID="PanelView" runat="server">
                                                <asp:GridView ID="GridViewExcel" runat="server" BackColor="White" 
                BorderColor="#999999"
                BorderStyle="Solid" BorderWidth="1px" CellPadding="3" 
                GridLines="Vertical" ForeColor="Black">
                                                    <AlternatingRowStyle BackColor="#CCCCCC" />
                                                    <FooterStyle BackColor="#CCCCCC" />
                                                    <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                                                    <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
                                                    <SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
                                                    <SortedAscendingCellStyle BackColor="#F1F1F1" />
                                                    <SortedAscendingHeaderStyle BackColor="#808080" />
                                                    <SortedDescendingCellStyle BackColor="#CAC9C9" />
                                                    <SortedDescendingHeaderStyle BackColor="#383838" />
            </asp:GridView>
                                                </asp:Panel>
                                            </td>
                                            <td>
                                                <asp:Panel ID="PanelImport" runat="server">
                                                    <asp:Label ID="lblResponse" runat="server"></asp:Label>
                                                </asp:Panel>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="style1">
                                                &nbsp;</td>
                                            <td class="style2">
                                                &nbsp;</td>
                                            <td>
                                                &nbsp;</td>
                                        </tr>
                                        <tr>
                                            <td class="style1">
                                                &nbsp;</td>
                                            <td class="style2">
                                                &nbsp;</td>
                                            <td>
                                                &nbsp;</td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    &nbsp;</td>
                                <td>
                                    &nbsp;</td>
                                <td>
                                    &nbsp;</td>
                            </tr>
                            <tr>
                                <td>
                                    &nbsp;</td>
                                <td>
                                    &nbsp;</td>
                                <td>
                                    &nbsp;</td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </td>
        <td class="style7">
            &nbsp;</td>
        <td class="style7">
            &nbsp;</td>
        <td class="style7">
            &nbsp;</td>
    </tr>
    <tr>
        <td class="style7">
            &nbsp;</td>
        <td class="style7">
            &nbsp;</td>
        <td class="style7">
            &nbsp;</td>
        <td class="style7">
        </td>
        <td class="style7">
            &nbsp;</td>
        <td class="style7">
            &nbsp;</td>
        <td class="style7">
            &nbsp;</td>
    </tr>
</table>
    
    </form>
</body>
</html>
